package day14;

import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

public class homework001 {
    private static int count;
    private static int num=0;
    private static boolean symbol;

    public static boolean getSymbol() {
        return symbol;
    }
    public homework001(boolean symbol,int count) {
        this.symbol = symbol;
        this.count = count;
    }

    public homework001() {
        new homework001(false,20);
    }

    public static void setSymbol(boolean symbol) {
        homework001.symbol = symbol;
    }

    private static final Lock lock = new ReentrantLock();

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public Lock getLock() {
        return lock;
    }
}
